package com.user.repositories;

import com.user.model.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface UserRepository extends JpaRepository<User,String>, JpaSpecificationExecutor {
    User findByPhoneAndDeleted(String phone,char deleted);

    User findByIdAndDeleted(String id,char deleted);
}
